passing password to browser
adding front end functionality