tested post
moving validation to model