Press back key to exit the app instead of going back to login page