Log errors.
Added authentication backend.