updated to login with client identifier