Got server side validation working