Fixed bug - cleared snippetPanel when logging in or out