added services and tests for user entity