login and logout working on facebook and google