Try to extend DeviseController instead SessionsController
Merge branch 'master' of https://github.com/v1k/devise_js_timeout