Checking access
Checking sign-in
Redirecting to login if there is no active session.