added snippet tab and trimmed session create