fix login with server