handle errors in user management
Merge pull request #25 from cmhbenjamin/master

handle errors in user management