adding views for database