now users and messages can be created successfully
- added provision for proper logging
- now exceptions are handled and logged in the service class