added ssl auto redirect
set secret for web client
Updated docs, minor bugfixes