limit access to author in order to see edit post view