added photo remove method to controller_admin class
added new parameter to config