limiting post edit capabilities, and fixing error in posts/edit.html.erb