added the password thing to both pages