fix client to work with anonymous users