Found a cleaner hack for devise via https://gist.github.com/bluemont/e304e65e7e15d77d3cb9