Adding devise and updating header