add cookie if user is logged in and remove it when user logs out (for admin link in front end)
add cookie if user is logged in and remove it when user logs out (for admin link in front end)

phoob/elasticraft,phoob/elasticraft