Added Remember Me and Logout functionality.