write login server

write login server