added prototype for insert into user table