fixed small issue in social authentication