authenticating for main tabs page