Made some changes to support dips and fix log in.

The game should now ask the device to keep awake.