Added login functionality using devise gem