Modification to view controller for profile.php

Modified profile.php and class.php to allow for editable fields. Not yet
final.