refactor dashboard base ctrl
refine login 1
Merge pull request #14 from Bratops/0.2.1_refine_login

Refine login process 1