Fixed Slideshare issues

- fixed issue of page trying to add subject relation when no subject was
selected
- fixed a line accidentally deleted when fixing 404 error
- fixed subject issue