added sql for user table