Adds methods for date formatting to the User model