Created functions to get/set values to/from DB for the User class