Profile Page Initial Modification

Modification of helper class and profile pages to set up for profile
modification. Hope to solve mysqli_result error by posting.