implemented basic user authentication using facebook's oauth API, fixes #2