updated class attributes and added Retrieve_User method to db.rb