updated identity model and spec to include admin as well as helper file