Cannot query table to check if user exists