add userid as a datatype