Adds feature to return query in findByUsername in case no callback is given