onResume
Called when the activity is resumed.
This method checks the user status by invoking the checkUser method in the view model.
Called when the activity is resumed.
This method checks the user status by invoking the checkUser method in the view model.