Added some authentication for posts#edit