Created Register front end validation