defining user primary key