Add user repository. Update db