resource for login verification, add delete method to photo resource