Added avatar image to prefs. fixed top level route 'root'