Set session if user registers.