added rest api for adding new users