add view functions show_entries & add_entry