added devise and foundation