fixed header and routes file to work with active admin