Add checks to stop the app. automatically logging-out if the Home button is pressed.
Date applied: December 7, 2022