updated permissions for some crazy reason, and changed cookies to db option, because that makes way more sense; resolves #3;