pass db-stored theme to client
added documentation