changed checkpassword