updated devise before filter