added unit tests for UserController and UserDaoImpl