integrate changes to User for sessioncookie only