Fungsi routing dasar, cek login, dll