adding facebook login support

+ changed the code in facebook.py to support parsing cookies from
browser