Added better server side error handling for register.js