fix theme not saving bug, add logout button on homepage