add redis config; add authorization; remove webview
correct HTTP status codes
fix merge error
minor code optimizations