Allowing sessionId to be passed into constructor
Registering now works