added getUser method