add cookie to see if just logged in