fix things so devise actually works