fixed User Entity, added getRightKeys function, renamed getAllRoles function to getNonDoubleRoles