Redirect to login if trying to access a page when not signed in