redirect login page if logged in