Continued implementation of query user