Initial navigation logic for mobile app