redeployed function and menus, deleted train func, fixed show page of resources.