Update and fix of password text box

Still unsure if it works