App not showing last visited page when resuming from home button press

After the application is launched on Android device, I press the home button to set the app to background. When I switch back to the application from recent apps or app launcher icon, the app is showing the splashscreen instead of showing the last visited page.

My app requires login to access inner pages. Since the app is getting launched from the splashscreen, the user has to go through login page whenever the app goes to background and resumed.

Is there any configuration I’m missing? Please guide me to the right direction.