Update Registration.php

Updated Error message to better handle internationalisation move DB connection into the constructor method