cleaned up error routine for adding user
made it more informative, returns http code 400 and a message as to why failure has occurred