cleaned up the userinfo controller a bit, added data to rejected promise