Added user login system
Merge branch 'master' of https://github.com/henrycjc/historychains

Conflicts:
	createchain.php
Merge branch 'master' into remerge