Add exception handling logic to login/register feature for AndroidSDKTutorialApp