change ad_verify_and_get_user_id to ad_conn user_id, change ad_maybe_redirect_for_registration to auth::require_login, make some db_ and dt_ function -public
Added in a primitive UI. Not tested on Oracle, and Oracle is brokenanyway because it is not up to date with data model changes. The todolist for Oracle is in status.txt