FB and google auth implementation