changed cookie_path to work properly