Removed sessions code, fixed checkbox code