added a userprofile mechanism -not yet implemented in front-end