implemented beginning of login server