Fixes #8: app doesnt close when user initially logs in upon launch and instance state should be saved when pausing the app to prevent rezooming when app resumes