prettier print, auto-login if has secret