Add documentation in the database module

Update the user entity representation.