login connection works but cannot read table