Added error handling to signup, adjusted for API data structure