add password check in post page