Move authentication code

Moved from gameplay activity to gamelobby activity