added devise and customized it