php code edited
controller has been added