Various cleanups
Added feature to check that user does not just add empty fields for the username and password fields.
Merge https://github.com/TheBCCrew/OGBCChat into AvatarBranch

Conflicts:
	authregis/register.php
Merge remote-tracking branch 'origin/master' into localweb_branch
Merged register