Login fixed, Logout working