Added better data response in error conditions of login, signup.