passed test for user to only be able to edit their own posts. Added guest user method for Devise.