Finished api for users.