rewrite of profile_load in boot.php

with Mike. Error message for the permissions comes later. Thanks