Finish the login system using devise