Fixed the remember me button and implemented the logout button