tidy up upload image function
Check login on delete image function.
Added plugin_override method stub.