Added social login for FB and Google and fixed known login bugs