added permissions.py so that only owner users can delete or edit Snippets