Implemented User API
User API + tests, could happen that while testing an error occurs when the database is not ready?