Updated to hold error messages
Reworked with error messages from config
Registration backend code