You must sign in first before using this function.