devise before pivot to jwt