Implemented locals and fb authentication.