better logout, link color settings and api