v1 of user sql