Check if frame 'request' var is string
Add docstrings to functions
Rename function 'sanitize' to 'sanitize_cookie'
Add docstrings to functions
Add some checks for sanitized vars
Temporary processor: get user email from cookie
Get user email from basic auth
Merge pull request #5 from dreadatour/master

Some checks added