Started on integration tests, refactoring model because H2 does not allow 'users' table
factored out user class as it was not possible on h2
updated logging and added validation domain