added login system with devise