redirect user from the landing page to the main page if he/she is already signed in