not login to main site when login through the subdomain site in multisite

Hello, Now i am not able to login to main site when do login through the subdomain site in multisite. For ex. when i login through (subdomain site) (user.xyz.com), i need to again login to (main site ) xyz.com. Could you please advice a solution for this.

Many Thanks
DILEEP