Check if user exists while getting token