Skipping main page if user logged