adjusted error messages on save image

- now also checks if user is logged in.