bugs fixed: multi-login/register, user without userprofile