Create PlayerDatabase

i cant figure out what is the best way to do this 
there needs to be only one database that isnt just created when someone logs on to ghost hunter 
also the sign in activity needs to have access to the database