Added authentication using facebook api and tests.