20140501-2206-DWDT Regsitration password validation complete, but needs tidying up and some units tests added