not properly setting user