added user.login logic and use crypto.md5.js