Finish gate logic
Merge branch 'master' of https://github.com/krackistan/passport

Conflicts:
	client/templates/gate.html