Fixed some things in the user API.