added form page functionality, procees if password valid otherwise remain prompting