Finished user RESTful API implementation
- finished registering logic
- added integration tests for controllers