Added header, flashes, single views and devise