set authenticate view and data service