Creating Server interface and facebook login.