Add devise directive to resource model