Refactor authorization from applicationcontroller to module