fixed error in passcheck in login.js