using jquery cookie to mark use as logged