add register validation
show model errors on when register fails