added main navigation controller to work with tabs