add docs to sql query filters
more filter docs
add http referer to all logs
add http_user_agent to logins
typo
remove old code
show alert on api error + add "hooks" for js