updated checklogin.js

- checks password length to see if it is less than 20 char long and more
than 5 char long