moved controllermacros to devise config to prevent error