updated post command
updated jquery post and validation