Devise

upgrade devise and fix 404 error