added jquery cookie lib to check for logged in user
more json url fixes