Add cookie support for user sessions