login query

This should create the query to userinfo to trigger
all relevant triggers and tell us if it is a valid login