Fixed database errors for lobby

Lobby system now complete