refactoring photo
clean up the photo controller
remove search service routes dependency
make the patient overview universal
add some server side validation for creating a user
added a basic error page and throwing runtimeexceptions instead of returning internalservererror