changed from states to STATES constant; identifying resources based on STATES section; changes to states and profile_link methods
changed from states to STATES constant; identifying resources based on STATES section; changes to states and profile_link methods

mdsol-share/crichton,mdsol-share/crichton