added function for creating, editing and deleting tutorials