some fixes, login server