deleting menus and fixing error,success messages