getUser() enhanced with role retrieval