Fixed a bug where the user were not allowed to access index and view in SnippetController unless signed in
A snippet now have a relation to the user who created it