working on basic server side validation, working with angular input