added logout to application route.  included new logic to handle setting a null user in the localStorage cache function of user controller