fixed the devise login issue