add logging to study processing
control access to the error page
flake8 and test fixes
Merge pull request #459 from squirrelo/log_process_error

Add logging to study processing