Added SQL to get user info