added navigations and message box