update SnippetsController#edit: add authenticate user
add Snippet#belongs_to?
add login to workflow
refactor SnippetsController#edit
update SnippetsController#update: add authenticate user