done with functionality of choosing either user or provider or both