Changes to sql in users