Added user role field module and modification on function which generate card id