Registration and login errors are now propogated to front end.