Implemented check that if user is logged into, redirected to "portal"