Rename rev property to _rev to fix deserialization warnings in backend
Add view for database authentication