Fixes cookie overflow error; saving only the id in session now