more restructure in conde to put more heritage.
finish the restructure code and we have test for login_admin, login_lms, login_ple