db+ssl+some tweaks to ui