Changed the response of the Photo service, Adding a verification whether
the register is saved or not.
Removed unused resources.
updated pom.xml to get newest versions of jdbc driver.