Added repository and unit of work, and extended the users