added config and cookie json file
Created a cookie mechanism