Adding Cookies for session management