Add Content-type for json response
Fix Facebook auth