Added cache delegate. Started federated login instead of facebook, for debugging purposes.