Added registration code, warning if you choose to play without logging in, and warning on logout, which required the new helper class ConfirmDialog and OnConfirmListener. There are now proper XML layouts for all screen sizes in the RegistrationActivity.