Must be admin OR post creator to delete a post

Remove flash messages from application controller

Give all before_actions redirect_to methods

Extract application controller methods to user model