Made it so if you're not logged in you cant go to other routes