API error message added

Add Api Error message and exception class
update for ApiUserManager class