Implemented customized authorization before filter