Add restful api for creating user and position