added a freewith method
fixed a bug in get_cookie
implementaion of attribute and content methods