error handling in social login interface