Front end example for edit and create