Removed echo statements from profile class