make idle timeout work with devise