added devise and some views