Adding the requested chagnes from the senior design team.
Adding latest changes to the php code so the group can sync