Adds cookie service to record user_id and session token

Adds cookie service to record user_id and session token