registering successfully updates session