made it so that users are redirected to their profile page if they try to visit the sign-up or login page