Modified iOS endpoints to handle failed login/signup as well as a specific user's recommendations from the database.