Refactored form code into partials
added URL format check in Picture model
added confirmation message for delete method