First implemented authorization with facebook. Not tested yet.