added user relationship and test