Fixed bug so guest register works on fresh dbs