change registerDevice from loginCtrl to gameCtrl