add edit button for admins for lessons and segments