Remove erroneous paramter from logout view.
Return promise instead of deferred from User service and resolve/reject promise.
Wait for user to be retrieved before displaying or the navbar will think no user exists.