sepeart logical in login_work.go into different files, and renmae login_work.go to login.go