worked on function called upon successful post for password
added form page functionality, procees if password valid otherwise remain prompting