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
Fix return_urls, added ALT tags to image, roll common error messages into the main portrait ADP page, enhanced the context bar to include a link to the user's homepage when changing password etc.