added devise and also edited it