define priv checks for accounts
sql_person() api
more authorization checks
new api: sql_person() api
convenience constant
login.php: remove reduntant sql_call; authorization code; sanity-check for uid