Update server.js

Sparing some lines in checkPw(user, pass).