Fix add/delete/edit student and upload photo