server logoff after login
use %elif in tpl
add no valid gw notice
add wrong pass notice