fixed error message for user with not unique username and for new user with empty password