add html, css , update user.py

add html and css of login and register part, and update user.py by mysql
merge
Resolve conflict