restrict user from accessing other profiles and auto redirect to user profile if login already