add. session module for handling session management and authentication.
add. move all view decos to one spot for simplicity.
add. insert_api_user query call to add users.
add. escape queries accessing api_user table.
add. account registration backend hooks with sha1 salting & HMAC (http://en.wikipedia.org/wiki/Hash-based_message_authentication_code)