Added a login check - demo only

Added check token function
test.php has forms for testing
Merge branch 'master' of https://github.com/jamesalfei/Digital2014

Conflicts:
	server/test.php