redirect the user away from login page if they are already logged in