Fixed session and changed to cookies that expire in 30 days