Fixed a minor bug in yourprofile.php

And added a function to add all config-vars to class function (no need
for manually adding them)