redirect login page to home if has logged in