add form and user validation to users model