working with users and locations