UserManager - better exception with message
add tests for UserManager