REST API development

Adding REST API files.
Renamed the register/login models to user_model.
Implemented user_get and user_post in the API.

https://trello.com/c/RAWNNVDU