BUG fix: Zero user id after registration!