add devise and new behavior for filter