Added module switching for login/lobby/game