Refactored unmaintainable userCan() code by making central userCanBitfield() functions