use before_filter
Create Member System with devise
Author can edit/delete posts only