more registration + sign in implementation

Conflicts:
	php/ideaRegistrationScript.php