update sidebar and add name variable for the app