created an interactive menu to add, view and exit