Altered User Repository and new specification