for fb login correction and togin switch fixed