Restrict write access to exercises and images to logged in users