added handle token method to navigationController