if logged in, going to homepage will redirect to /page