adding api for users