added action links
updated form action to perform for both add and edit action
updated form action to perform for both add and edit action, also updated some logic in division field
added editAction, deleteAction, separated save functionality to its own function named "save"