added error notifications to regsitration form