enable game if user login
refactor
fix bug