fixing account registration on the site