added entities and user repository