Approaching MVC/MEAN overhaul. logout needs help