initialize user session after successful registration