fixing gallery stuff

Add gallery to course view + delete possibility to delete/add/edit the gallery if the user do not own the route