added percent_selected
added percent_selected
added api for registering a new user