Refine register and login.

1. Add password's md5 and salt
2. Check password on user login