Added Logout and Remember me functionalities