finished login and logout with remember me