opens log in page when user is logged out from class controller