creating navigation controller