allow user to make edits to post
created methods for each action from edit post buttons