database and lobby changes

implemented end of game score adjustments, and method stub for logout