Log on via facebook. Packed data in json via ajax and sent to the back-end