Fixes logout button
removes unused views.