SIGN IN SIGN UP

Add ctx check and re-order __init__. Closes #112

A
Andrei Betlen committed
cc706fb94448f7d9c0db89eebd7188d738c6831d
Parent: 996e31d