Added paranoia plugin to the model classes for security groups and rewrote the cookie id part