Added permissions and authentification to Folder model - draft