fixing relationship between User and App