added editAction, deleteAction, separated save functionality to its own function named "save"
added action links
updated form action to perform for both add and edit action
added editAction, deleteAction, separated save functionality to its own function named "save"