finish the restructure code and we have test for login_admin, login_lms, login_ple