please add a function in the gamer model that deals with accessing the database