Backend changes to return user friendly error messages

Backend changes to return user friendly error messages during login and sign up.