completed profile class php coding