Fixed graph bugs on login logout - cleared svg tags in logout function