Added functions and js to delete images. Added checkboxes to images in
user gallery if its the user logged in.