add login function in header
fix some bug
Merge branch 'view-header' into develop