Add view for database authentication