Initial email login
Add username to login
Format modify
add password change function
small modify
Add email valid for signin
Merge pull request #3 from wangyeming/master

Implement register, sign in and sign out by devise
fix conflictions